//
//  PublicModel.m
//  SHRCWDemo
//
//  Created by 01 on 17/3/1.
//  Copyright © 2017年 蔡正军. All rights reserved.
//

#import "PublicModel.h"

@implementation PublicModel

+ (E_ScrollViewController *)shareReadCtl
{
    static E_ScrollViewController *shareReadCtl = nil;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        shareReadCtl = [[E_ScrollViewController alloc] init];
    });
    return shareReadCtl;
}
+ (NSMutableArray *)shareReadData
{
    static NSMutableArray *data = nil;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        data = [NSMutableArray array];
    });
    return data;
}

+ (PublicModel *)sharePublicModel
{
    static PublicModel *model = nil;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        model = [[PublicModel alloc] init];
    });
    return model;
}

@end
